package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.lang.reflect.InvocationTargetException;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;

@TableName("weixiupingjia")
public class WeixiupingjiaEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;
	public WeixiupingjiaEntity() {
	}
	
	public WeixiupingjiaEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

	@TableId
	private Long id;
	private String weixiubianhao;
	private String wupinmingcheng;
	private String weixiuzhanghao;
	private String weixiuxingming;
	private String pingjianeirong;
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date pingjiashijian;
	private String zhuhuzhanghao;
	private String zhuhuxingming;
	private Long crossuserid;
	private Long crossrefid;
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public void setWeixiubianhao(String weixiubianhao) {
		this.weixiubianhao = weixiubianhao;
	}
	public String getWeixiubianhao() {
		return weixiubianhao;
	}
	public void setWupinmingcheng(String wupinmingcheng) {
		this.wupinmingcheng = wupinmingcheng;
	}
	public String getWupinmingcheng() {
		return wupinmingcheng;
	}
	public void setWeixiuzhanghao(String weixiuzhanghao) {
		this.weixiuzhanghao = weixiuzhanghao;
	}
	public String getWeixiuzhanghao() {
		return weixiuzhanghao;
	}
	public void setWeixiuxingming(String weixiuxingming) {
		this.weixiuxingming = weixiuxingming;
	}
	public String getWeixiuxingming() {
		return weixiuxingming;
	}
	public void setPingjianeirong(String pingjianeirong) {
		this.pingjianeirong = pingjianeirong;
	}
	public String getPingjianeirong() {
		return pingjianeirong;
	}
	public void setPingjiashijian(Date pingjiashijian) {
		this.pingjiashijian = pingjiashijian;
	}
	public Date getPingjiashijian() {
		return pingjiashijian;
	}
	public void setZhuhuzhanghao(String zhuhuzhanghao) {
		this.zhuhuzhanghao = zhuhuzhanghao;
	}
	public String getZhuhuzhanghao() {
		return zhuhuzhanghao;
	}
	public void setZhuhuxingming(String zhuhuxingming) {
		this.zhuhuxingming = zhuhuxingming;
	}
	public String getZhuhuxingming() {
		return zhuhuxingming;
	}
	public void setCrossuserid(Long crossuserid) {
		this.crossuserid = crossuserid;
	}
	public Long getCrossuserid() {
		return crossuserid;
	}
	public void setCrossrefid(Long crossrefid) {
		this.crossrefid = crossrefid;
	}
	public Long getCrossrefid() {
		return crossrefid;
	}
}
